package com.api.shopapi.service;

import com.api.shopapi.entity.ETakeDrugs;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface ETakeDrugsService {

    int insert(ETakeDrugs takeDrugs);

    int update(ETakeDrugs takeDrugs);

    int delete(String eTakeDrugsCode);

    ETakeDrugs getByETakeDrugsCode(String eTakeDrugsCode);

    PageInfo<ETakeDrugs> getPageListByElderlyCode(int pageIndex,int pageSize,String elderlyCode);


}
